﻿using System;
using System.ComponentModel;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using LeadThing.AbpZeroTemplate.CallPolices;

namespace LeadThing.AbpZeroTemplate.CallPolices.Dtos
{
    /// <summary>
    /// 一键报警表列表Dto
    /// </summary>
    [AutoMapFrom(typeof(CallPolice))]
    public class CallPoliceListDto : EntityDto<long>
    {
        /// <summary>
        /// X坐标
        /// </summary>
        [DisplayName("X坐标")]
        public string XPoint { get; set; }
        /// <summary>
        /// Y坐标
        /// </summary>
        [DisplayName("Y坐标")]
        public string YPoint { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [DisplayName("地址")]
        public string Address { get; set; }
        /// <summary>
        /// 文件ID
        /// </summary>
        [DisplayName("文件ID")]
        public int FileID { get; set; }
        /// <summary>
        /// 报警方式
        /// </summary>
        [DisplayName("报警方式")]
        public int CallTypeID { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        [DisplayName("状态")]
        public int Status { get; set; }
        /// <summary>
        /// 处理意见
        /// </summary>
        [DisplayName("处理意见")]
        public string HandleSuggestion { get; set; }

        /// <summary>
        /// 结案意见
        /// </summary>
        [DisplayName("结案意见")]
        public string ClosedSuggestion { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreationTime { get; set; }

        /// <summary>
        /// 乡镇
        /// </summary>
        [DisplayName("乡镇")]
        public int TownID { get; set; }

        /// <summary>
        /// 社区
        /// </summary>
        [DisplayName("社区")]
        public int AreaID { get; set; }

        /// <summary>
        /// 村居
        /// </summary>
        [DisplayName("村居")]
        public int VillageID { get; set; }



        #region 扩展字段

        /// <summary>
        /// 报警方式名称
        /// </summary>
        [DisplayName("报警方式名称")]
        public string CallTypeName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("报警人")]
        public string CreatUserName { get; set; }

        /// <summary>
        /// 是否显示菜单
        /// </summary>
        public bool ShowMenu { get; set; }

        #endregion
    }
}
